package com.dc.dao.special;

import com.dc.entity.ShipRepairEntity;
import com.dc.entity.special.WorkflowSpecial2PaintShipEntity;
import com.dc.entity.special.WorkflowSpecial2ShipCutEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface WorkflowSpecial2ShipCutDao extends JpaRepository<WorkflowSpecial2ShipCutEntity, Long>, JpaSpecificationExecutor<WorkflowSpecial2ShipCutEntity> {

    Page<WorkflowSpecial2ShipCutEntity> findByShipRepairEntity(ShipRepairEntity shipRepair, Pageable pageable);
}
